package com.qiyuexinxi.chat.service;

import com.qiyuexinxi.chat.dto.request.CompleteInfoRequest;
import com.qiyuexinxi.chat.dto.request.LoginRequest;
import com.qiyuexinxi.chat.dto.request.RegisterRequest;

import java.text.ParseException;

/**
 * @author yangxingyu
 * @date 2020/2/27
 * @description
 */
public interface LoginService {


    Integer register(RegisterRequest registerReques);

    boolean completeInfo(CompleteInfoRequest completeInfoRequest) throws ParseException;

    Integer login(LoginRequest loginReques);

    String getPhoneCode(String phone);

    Integer rePassword(RegisterRequest registerReques);

}
